package com.itheima.thread.diyThread4Ways;

/**
 * @Author: Ethan Yankang
 * @Program: interview
 * @Date: 2024-07-28 14:37
 **/
public class ThreadByRunnable {
    public static void main(String[] args) {
        Thread thread=new Thread(()-> {
            System.out.println("这是通过实现Runnable创建的线程");
        });
        thread.start();
    }
}
